package cloud.maque.conf.auth;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
public class JwtProperties {
    /**
     * JWT密钥
     */
    private String secret;
    
    /**
     * Token过期时间（毫秒）
     */
    private long expiration;
    
    /**
     * Token请求头名称
     */
    private String header = "Authorization";
    
    /**
     * Token前缀
     */
    private String prefix = "Bearer ";
}